#ifndef __PLUG_LTE_H__
#define __PLUG_LTE_H__

#include "hi_type.h"

#ifdef __cplusplus
#if __cplusplus
extern "C" {
#endif
#endif /* End of #ifdef __cplusplus */


/* default tty dev name, /dev/ttyUSB2 */
#define LTE_TTY_DEV0        "/dev/ttyUSB0"
#define LTE_TTY_DEV1        "/dev/ttyUSB1"
#define LTE_TTY_DEV2        "/dev/ttyUSB2"
#define LTE_TTY_DEV3        "/dev/ttyUSB3"

#define LTE_PPP0            "ppp0"

typedef HI_S32 (*LTE_EVENT_CALLBACK_PTR)(HI_BOOL bStart);

typedef struct tagLTE_EVENT
{
    LTE_EVENT_CALLBACK_PTR pfnEvent;
}LTE_EVENT;

typedef enum
{
    AT_ERROR = 0,
    AT_OK = 1,
}HI_HAL_LTE_AT_STATE_E;

typedef enum
{
    NETWORK_CDMA = 0 ,
    NETWORK_WCDMA = 1,
    NETWORK_LTE = 2,
    NETWORK_UNKNOWN = 0XFFFF
}HI_HAL_LTE_NET_TYPE_E;

HI_S32 HI_HAL_LTE_Init(LTE_EVENT *pEvent);
HI_HAL_LTE_NET_TYPE_E LTE_GetNetworkType(HI_VOID);


#ifdef __cplusplus
#if __cplusplus
}
#endif
#endif /* End of #ifdef __cplusplus */

#endif